using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class VedioPanel : MonoBehaviour
{
    public Button backBtn;
    // Start is called before the first frame update
    void Start()
    {
        backBtn.onClick.AddListener(BackBtnOnClick);
    }

    public void BackBtnOnClick()
    {
        UIManager.Instance.changeVedioNum(5);
        this.gameObject.SetActive(false);
    }
    // Update is called once per frame
    void Update()
    {
        
    }
}
